package com.ytjj.qmyx.data.service;

import com.ytjj.common.dto.mqdto.OrderExpressDto;
import com.ytjj.qmyx.mall.model.Orders;
import com.ytjj.qmyx.mall.model.OrdersInfo;

import java.util.List;

public interface OrdersService {
    Orders findOrderByOrderId(Integer orderId);
    List<OrdersInfo> queryOrdersList(String dayStr,Integer pageNo,Integer pageSize);
    void syncOrderExpress(OrderExpressDto dto);

    /**
     * 根据子订单号查询主订单
     * @param childOrderNo
     * @return
     */
    Orders findOrderByChildOrderNo(String childOrderNo);
}
